Towards Predictable Transaction Executions in Real-Time Database Systems

نویسندگان

  • Patrick E. O'Neil
  • Krithi Ramamritham
  • Calton Pu
چکیده

Even though considerable research has been done on concurrency control protocols that take the timing constraints of transactions into account, most of these protocols do not predict { before a transaction begins execution { whether the transaction will meet its deadline. Hence the protocols do not directly tackle the problems introduced by the various sources of unpredictability encountered in typical database systems, including data dependence of transaction execution, data and resource connicts, dynamic paging in virtual memory systems, disk I/O, and transaction aborts with the resulting rollbacks and restarts. On the other hand, the approach described in this paper has the potential to provide predictable transaction executions. This approach exploits the access invariance property that many transactions possess or can be designed to possess. The execution path of a transaction with this property is unlikely to change as a result of data modiications by other concurrent transactions. In this approach, a transaction goes through two phases. In the rst phase, called the prefetch phase, a transaction is run once, bringing the necessary data into main memory that is not in memory already. No writes are performed in this phase and data connicts with other transactions are not considered. The overall computational demands of the transaction are also determined during this phase. At the end of the prefetch phase, the system attempts to guarantee that the transaction will complete by its deadline. This is done by planning the execution of the transaction { taking into account data and resource connicts with the transactions already guaranteed { such that the transaction meets its deadline. If such a plan can be constructed, the transaction's execution phase begins and if access invariance holds then the transaction is committed at the end of this phase. A number of variations on this approach (such as using optimistic concurrency control in the prefetch phase or handling occasional failures of access invariance) are also investigated. The beneets of the approach are also discussed.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Utilization of execution histories in scheduling real-time database transactions

Real-time database systems support data processing needs of real-time systems where transactions have time constraints. Here we consider repetitively executed transactions, and assume that execution histories are logged. A well-known priority assignment technique called earliest-deadline-first is biased towards short transactions in which short transactions have better chances of completing the...

متن کامل

A Formal Specification of the Concurrency Control in Real-Time Databases

In the paper we present a formal model of real-time database (RTDB) systems using Duration Calculus (DC). First, we give a formal specification of the correctness for the executions of transaction systems and the Two Phase Locking Concurrency Control Protocol (2PL-CCP). We also give a formal proof for the correctness of the 2PL-CCP using the DC proof system. Then, we present a formal descriptio...

متن کامل

A Formal Speci cation of the ConcurrencyControl in Real - Time Databases ( Stream : Foundations and Methodology ) ( Mini { track : Foundations of System Speci cation )

In the paper we present a formal model of real-time database (RTDB) systems using Duration Calculus (DC). First, we give a formal speciication of the correctness criterion for the executions of transaction systems and of the Two Phase Locking Concurrency Control Protocol (2PL-CCP). We also give a formal proof for the correctness of the 2PL-CCP using the DC proof system. Then, we present a forma...

متن کامل

Identifying the Major Sources of Variance in Transaction Latencies: Towards More Predictable Databases

Decades of research have sought to improve transaction processing performance and scalability in database management systems (DBMSs). Far less attention has been dedicated to the predictability of performance—how often individual transactions exhibit execution latency far from the mean. Performance predictability is vital when transaction processing lies on the critical path of an interactive w...

متن کامل

Databases with Deadline and Contingency Constraints

Real time database systems associate the concept of deadlines with transaction executions Previous ap proaches use best e ort techniques to schedule a given set of transactions to meet the deadlines as well as to ensure the consistency of the database However such approaches are inadequate for target applications which have hard real time deadlines that need to be met in the event of crisis sit...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992